pull
fun pull(image: String, version: String = "latest", allowFailure: Boolean = false): <Error class: unknown class>(source)
Pulls a given image's version.
Note that pulling a previous version of an image before building a new version is useless: Docker's cache is able to reuse layers without pulling the image.
Parameters
image
The name of the image to pull (e.g. "alpine", "curlimages/curl").
version
The version to pull (e.g. "edge").
allow Failure
If set to true, failing to pull the image will be ignored, and will not fail the current job.